<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html style="overflow-x:hidden;overflow-y:auto;"><head>
<title>超值秒杀</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">        
<!-- Mobile Devices Support @begin -->
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
<meta content="no-cache" http-equiv="pragma">
<meta content="0" http-equiv="expires">
<meta content="telephone=no, address=no" name="format-detection">
<meta name="apple-mobile-web-app-capable" content="yes"> <!-- apple devices fullscreen -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="stylesheet" type="text/css" href="${ctxStatic}/member/themes/fashion/css/common.css" media="all">
<script src="${ctxStatic}/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="${ctxStatic}/member/themes/default/indexSeckill.js" type="text/javascript"></script>
</head>
<style>
.mbg{ background-image:url(/zxims/static/member/themes/fashion/img/sd.jpg);height:auto;margin:auto; background-repeat:no-repeat; background-color:#9b0000;}
.m_time{padding-top:90px;color:#fff;font-size:16px;font-weight:bold;margin-left:30px;}

.m_gong{padding:0 10px 10px 10px;overflow:hidden;padding-top:60px;max-width:320px;}
.m_gong img{width:100%;}
.redFont{color:#ffae00;font-weight:bold;}
.prizeTxt{color:#fff; text-align:center;padding-top:10px;}

.btn {display: inline-block;padding: 4px 12px;margin-bottom: 0px;font-size: 14px;line-height: 20px;color: #333;text-align: center;text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.75);vertical-align: middle;cursor: pointer;background-color: #F5F5F5;background-image: linear-gradient(to bottom, #FFF, #E6E6E6);background-repeat: repeat-x;border-width: 1px;border-style: solid;-moz-border-top-colors: none;-moz-border-right-colors: none;-moz-border-bottom-colors: none;-moz-border-left-colors: none;border-image: none;border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) #B3B3B3;border-radius: 4px;box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2) inset, 0px 1px 2px rgba(0, 0, 0, 0.05);}
.btn-warning {color: #FFF;text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25);background-color: #FAA732;background-image: linear-gradient(to bottom, #FBB450, #F89406);background-repeat: repeat-x;border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);}
</style>
<body>
  <div class="mbg">
   <div class="m_time"   id="showxmtime${ seckill.id}">0天0时0分0秒</div>
    <c:if test="${uid eq '34' }">
		<div style="font-size:12px;color:#fff;width:200px;padding-left:15px;padding-top:20px;line-height:20px;">${config.notice }</div>
	 </c:if>
     <c:if test="${uid ne '34' }">
     	<div style="font-size:12px;color:#fff;width:200px;padding-left:15px;padding-top:20px;line-height:20px;">${config.notice }</div>

	   </c:if>
  <c:if test="${member.score lt config.minScore }">
	<span color="red">尊敬的微会员，参与秒杀活动至少需要积分<strong>${config.minScore }</strong>分，而您现在只有<strong>${member.score }</strong>分,试试签到和转发赚点积分后再参与秒杀吧.</span>
</c:if>
   <div class="m_gong">
     	<div class="act_time" style="margin-bottom:5px;color:white;"> 
     	秒杀日期：<fmt:formatDate value="${seckill.startTime}" pattern="MM月dd日 "/><br/>
     	开始时间：<fmt:formatDate value="${seckill.startTime}" type="time" timeStyle="long"/>
     	</div>
   <form:form id="form" action="${ctxFront}/member/doseckill" name="form${seckill.id }" method="POST">
   		<input type="hidden" name="sid" id="sid${seckill.id }" value="${seckill.id }" />
		<input	type="hidden" name="style" value="${style}"/>
		<input type="hidden" name="price" id="price${seckill.id }" value="${seckill.price }" />
		<input type="hidden" name="wechatId" id="member${wechatId }" value="${wechatId }" />
		<input name="seckill.id" type="hidden"   id="seckill${wechatId }" value="${seckill.id }" /> 
		<input type="hidden" name="uid" id="uid${wechatId }" value="${uid }" />
		<input type="hidden" id="surplus101${seckill.id }" name="surplus101${seckill.id }" value="${seckill.amount }">
		<input type="hidden" id="nowDate" name="nowDate" value="${nowDate }"> 
		<input	type="hidden" id="begin_time" value='<fmt:formatDate value="${seckill.startTime}" pattern="yyyy-MM-dd HH:mm:ss"/>'>
		<input type="hidden" id="nextbegin_time" name="nextbegin_time" value="2013-09-17 11:30:00"> 
		<input type="hidden" id="end_time" name="end_time" value='<fmt:formatDate value="${seckill.endTime}" pattern="yyyy-MM-dd HH:mm:ss"/>'>
		<img src="${ctxUser }/seckill/${seckill.picPath }" style="width:100%" onerror="this.src='${ctxStatic}/images/zanwutupian.jpg'"> 
			<div class="prizeTxt">
				<span class="redFont">${seckill.price }</span>元秒杀<span class="redFont">${seckill.name }</span>
					<p class="prizeInfo">本次秒杀剩余数量<span class="redFont">${seckill.amount }</span>个</p>
					
					<div id="cjcontent${ seckill.id}" >
						<p class="prizeCount" >
							<span class="redFont"  >当前时段奖品剩余：${seckill.amount }个</span>
						</p>
						<p class="prizeCount" >
							<span>${seckill.remarks } </span>
						</p>
					</div>
					
				    <button id="miaoshabutton${ seckill.id}" type="submit" class="btn" disabled="disabled" name="miaoshabutton"   <c:if test="${member.score lt config.minScore }">style="display:none" </c:if>>${seckill.price }元秒杀</button>
			</div>
	</form:form>
	</div>
								</div>
</body>
</html>
